home *** CD-ROM | disk | FTP | other *** search
/ Deutsche Edition 1 / Deutsche Edition 1.iso / time / time_31-40 / time_36 / multi_player / example.rexx < prev    next >
OS/2 REXX Batch file  |  1993-11-04  |  1KB  |  59 lines

  1. /*
  2.  ######################################################
  3.  # This an exampleof the use of cmd_player from AREXX #
  4.  ######################################################
  5. */
  6. address    command "Multi_Player -w"
  7. address    "Multi_Player"
  8.  
  9. say "Multi_Player demo using ARexx...Loading a song"
  10.  
  11. "Play"  ":modules/modules-jamcracker/demosong1"
  12.  
  13. say    "Press a key...."
  14. pull dummy
  15.  
  16. say    "I can stop the song!"
  17.  
  18. "Stop"
  19.  
  20. say    "Now, we'll tell him to play a song!"
  21.  
  22. "Play"  ":modules/modules-TFMX/mdat.alcatraz1-2"
  23. "Select 2"
  24.  
  25. say    "The song is loaded!...It's a little jingle"
  26.  
  27. say    "Press a key...."
  28. pull dummy
  29.  
  30. say    "But I'll also can change the tune used, if this is a TFMX song,"
  31. say    "with the 'Select' command!"
  32. say
  33.  
  34. "Select 1"
  35.  
  36. say    "Press a key...."
  37. pull dummy
  38.  
  39. say    "I can also stop the song, with command 'Stop'"
  40.  
  41. "Stop"
  42.  
  43. say    "Press a key...."
  44. pull dummy
  45.  
  46. say    "Of course, I can start again the song, with the command....'Start'"
  47.  
  48. "Start"
  49.  
  50.  
  51. say    "Press a key...."
  52. pull dummy
  53.  
  54. say    "Now, I'll exit the player! Don't forget to look at the read me file"
  55. "Quit"
  56.  
  57.  
  58.  
  59.